package com.basketball.gym.mapper;

import com.basketball.gym.pojo.Calendar;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 赵肖云
 * @since 2021-03-26
 */
@Repository
public interface CalendarMapper extends BaseMapper<Calendar> {

    /**
     * 查询全场的日程
     */
    List<Calendar> selectAllPresent(Calendar calendar);

    /**
     * 通过date,courtId,timeId全场全场的日程
     */
    Calendar selectOneAllPresent(Calendar calendar);
}

